package com.sidianzhong.sdz.service;

import com.sidianzhong.sdz.model.*;
import com.sidianzhong.sdz.utils.PageInfo;

import java.util.List;

/**
* Created by hxgqh on 2016/1/7.
*/
public interface WebInspectiondatarecordService {

    WebInspectiondatarecord create(WebInspectiondatarecord item);

    int delete(Integer id);

    int update(WebInspectiondatarecord item);

    WebInspectiondatarecord get(Integer id);

    PageInfo<WebInspectiondatarecord> getListWithPaging(Integer pageNum, Integer pageSize,
                                                        String sortItem, String sortOrder, WebInspectiondatarecord item);


    WebInspectiondatarecord getBykey(String equipmenttypekey, String equipmentkey,Integer itemid);

    WebInspectiondatarecord getOneBykey(Integer recordid,String equipmenttypekey, String equipmentkey,Integer itemid);

    int batchInsert(List<WebInspectiondatarecord> list);

    List<WebInspectiondatarecord> getList(Integer recordid);

}
